<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>访问记录</title>
    <link href="../static/css/styles.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="../static/css/base.css">
    <link rel="stylesheet" href="../static/bootstrap/css/bootstrap.min.css">
</head>
<body>
<nav class="menu">
    <input type="checkbox" href="#" class="menu-open" name="menu-open" id="menu-open"/>
    <label class="menu-open-button" for="menu-open">
        <span class="hamburger hamburger-1"></span>
        <span class="hamburger hamburger-2"></span>
        <span class="hamburger hamburger-3"></span>
    </label>

    <a href="/" class="menu-item"> 主页 </a>
    <a href="/todo" class="menu-item"> 心愿清单 </a>
    <a href="/upload" class="menu-item"> 美食菜谱 </a>
    <a href="/hot" class="menu-item"> 热榜集合 </a>
    <a href="/og" class="menu-item"> 日志系统 </a>
</nav>
<div class="container">
    <table class="table-hover table tab-content">

        <tr>
            {% for row_title in the_row_titles %}
                <th>{{ row_title }}</th>
            {% endfor %}
        </tr>

        {% for item in logs %}
            <tr>
                <td>{{ item.username }}</td>
                <td>{{ item.search_result }}</td>
                <td>{{ item.ip }}</td>
                <td>{{ item.user_agent }}</td>
            </tr>
        {% endfor %}
    </table>
</div>


</body>
</html>
